package com.central.common.feign;

import com.central.common.constant.ServiceNameConstants;
import com.central.common.model.ResourceInfo;
import com.central.common.model.UdfDefined;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author td
 */
@FeignClient(name = ServiceNameConstants.KB_MANAGE_SERVICE, decode404 = true)
public interface KBMService {
    /**
     * 调度中心master获取keytab文件url
     * @param proName
     * @param username
     * @return
     */
    @GetMapping("/KAM/pv/getKeytabUrl")
    public String getKeytabUrl(@RequestParam("proName") String proName, @RequestParam("username") String username);
}
